<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/3/7 0007
 * Time: 19:20
 */

namespace App\Contracts\Repositories;

use App\Models\ActivityTrigger\ActivityTrigger;

interface ActivityTriggerRepository
{
    public function create(ActivityTrigger $activityTrigger);

    public function update($updates, $condition);

    public function countByConditions($condition);

    public function findByConditionsPage($condition, $sortArray=array(), $start = 0, $limit = 10);

    public function deleteByIds($ids);

    public function getActivityTriggerById($id);
}
